| immutable class TUP{T1} < $HASH, $STR |
|---|
| $STR | $HASH | $IS_EQ | COMPARE{_} |
| attr t1:T1; |
|---|
| attr t1:T1; |
|---|
| create(at1:T1):SAME |
|---|
| hash:INT |
|---|
| **** | A simple hash value computed from the hash values of the component. For this to work, this must either be a value type which defines a hash value or a reference type. |
| is_eq(e:SAME):BOOL |
|---|
| **** | True if the component of self and `e' are equal. |
| str: STR |
|---|